//k1 edit

private ["_players"];
_players = call A3E_fnc_GetPlayers - Escape_Players_enemy; //
if (count _players == 0) then {_players = allPlayers - [entities "HeadlessClient_F"] - Escape_Players_enemy};
_player = selectRandom _players;
_player;